<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=-, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 250px;
            height: 350px;
            background:url(../05爱宠/images/bg.gif);
            border: 1px solid green;
            margin: auto; 

        }
           
        .box h2{
            height: 25px;
            border-left: 5px solid #c9e143;
            padding-left: 10px;
            margin-bottom: 5px;
            margin-top: 10px;
            margin-left: 10px;
            font-size: 18px;
            line-height: 25px;
            color: #fff;
        }

        ul {
            list-style: none;
            background-color: #fff;           
            padding-left: 10px;
            padding-right: 10px;
            margin: 10px;
            
        }
        .box ul li {
            height: 30px;
            border-bottom: 1px dashed #6b6b6b;
            padding-left: 15px;
            line-height: 30px;
            background: url(../05爱宠/images/tb.gif) no-repeat center left;
            font-size: 12px;
        }
        .box ul li a{
            text-decoration:none;
        } 
    </style>
    <div class="box">
        <h2>爱宠知识</h2>
    <ul>
        <li><a href="">养狗比养猫对健康更有利</a></li>
        <li><a href="">日本正宗柴犬亮相，你怎么看柴犬</a></li>
        <li><a href="">狗狗歌曲《新年旺旺》</a></li>
        <li><a href="">带宠兜风，开车带宠需要注意什么?</a></li>
        <li><a href="">【爆笑】这狗狗太不给力了</a></li>
        <li><a href="">狗狗与男童相同着装拍有爱造型照</a></li>
        <li><a href="">狗狗各个阶段健康大事件</a></li>
        <li><a href="">调皮宠物狗陷在沙发里的搞笑瞬间</a></li>
        <li><a href="">为什么每次大小便后，会用脚踢土?</a></li>
    </ul>
    </div>
</body>
</html>